import { 
	formatTime as formatTime2, 
	timeSince as timeSince2,
	num2Thousand as num2Thousand2,
	entryMobile as entryMobile2,
	encryFullName as encryFullName2, 
	encryIDCard as encryIDCard2,
} from '@/utils/util.js'

// 日期时间格式化
export const formatTime = formatTime2
// 多少分钟【小时、天】前
export const timeSince = timeSince2
// 数字转万
export const num2Thousand = num2Thousand2

// 价格格式化
export const priceFormat = (price = 0) => uni.$u.priceFormat(Number(price), 2)

// 手机号中间四位*号代替
export const entryMobile = entryMobile2

// 姓名*号加密
export const encryFullName = encryFullName2

// 身份证*号加密
export const encryIDCard = encryIDCard2